{extend name="Home/Theme/Inception/base" /}

{block name="main"}

<div class="main zh">
   <div class="left fl">
    <div class="flash fl bgb mb15">
     <ul class="bxslider">
     </ul>
     <div class="flass" style="width:100%; height:245px; margin-top:15px;"></div>
    </div>
    <div class="hot bgb fr mb15">
     <h2><a class="yanse">最新更新↓↓↓</a></h2>
     <p>*******************</p>
     <ul>
        {volist name="articles['news']" id="val"}
            <li>
                <span>{$val['update_time']}</span>
                <i class="fa fa-caret-right"></i>
                <a href="/articles/{$val['id']}.html" title="{$val['name']}" target="_blank">{$val['name']}</a>
            </li>
        {/volist}
     </ul>
    </div>
   </div>
   <div class="right fr">
    <dl class="wupd">
     <div class="notice">
      <div class="tab-hd">
       <ul class="tab-nav">
        <li class="on"><a href="javascript:void">本周热门</a></li>
        <li class=""><a href="javascript:void">本月热门</a></li>
       </ul>
      </div>
      <div class="tab-bd">
       <div class="tab-pal">
        <ul>
                {volist name="articles['weeks']" id="val"}
                    <li>
                        <span class="fr zuo10"></span>
                        <a href="/articles/{$val['id']}.html" title="{$val['name']}">{$val['name']}</a>
                    </li>
                {/volist}
                {empty name="articles['weeks']"}
                    <li><span class="fr zuo10"></span>本周暂未发布</li>
                {/empty}
        </ul>
       </div>
       <div class="tab-pal" style="display: none;">
        <ul>
                {volist name="articles['months']" id="val"}
                    <li>
                        <span class="fr zuo10"></span>
                        <a href="/articles/{$val['id']}.html" title="{$val['name']}">{$val['name']}</a>
                    </li>
                {/volist}
                {empty name="articles['months']"}
                    <li><span class="fr zuo10"></span>本月暂未发布</li>
                {/empty}
        </ul>
       </div>
      </div>
     </div>
     <script type="text/javascript">jQuery(".notice").slide({ titCell:".tab-hd li", mainCell:".tab-bd",delayTime:0});</script>
    </dl>
   </div>
   <div class="clear"></div>

   <div class="index-cms">
    {volist name="articles['list']" id="val"}
    <dl class="bgb">
        <dt class="ybbt">
            <a class="more fr" href="/category/{$val['id']}.html" title="查看更多 {$val['name']} 文章" target="blank"><i class="fa fa-list-ul"></i></a>
            <a target="blank" href="/category/{$val['id']}.html" class="yanse">{$val['name']}</a>
        </dt>
        <dd>
            <ul>
                {volist name="val['articles']" id="vo"}
                    <li>
                        <span>{$vo['update_time']}</span>
                        <i class="fa fa-caret-right"></i>
                        <a href="/articles/{$vo['id']}.html" title="{$vo['name']}" target="_blank">{$vo['name']}</a>
                    </li>
                {/volist}
            </ul>
        </dd>
    </dl>
    {/volist}

    <div class="clear"></div>
   </div>
   <div class="links bgb pd mb15">
    <h2 class="ybbt">友情链接</h2>
    <ul>
        {volist name="links" id="val"}
            <li><a href="{$val['links']}" target="_blank" title="{$val['name']}">{$val['name']}</a></li>
        {/volist}
        <li><a href="http://mail.qq.com/cgi-bin/qm_share?t=qm_mailme&amp;email=1371537727@qq.com" rel="nofollow" target="_blank" title="友链交换联系我">友链交换联系</a></li>

     <div class="clear"></div>
    </ul>
   </div>
  </div>

{/block}